PDF Plugin for Xojo

Page.Rectangle Method (console safe)

Appends rectangle to the current path.

Rectangle(
   x as Single,
   y as Single,
   width as Single,
   height as Single)

Parameters

x
The x coordinate where to place the rectangle
y
The y coordinate where to place the rectangle (Remember in PDF then y starts from bottom)
width
The width of the rectangle
height
The height of the rectangle

Remarks

GraphicsMode should be in the mode PAGE_DESCRIPTION or PATH_OBJECT when you call this method.

After calling this method then the GraphicsMode will be PATH_OBJECT.

See Also

Page Class